﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_Contract : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int ContractID { get { return fCONTRACTID; } set { fCONTRACTID = value; EntityState.FieldChange("ContractID"); } } private int fCONTRACTID; public static FieldInfo _ContractID = new FieldInfo("t_smd_Contract", "ContractID");
        [Column]
        public int? StoreID { get { return fSTOREID; } set { fSTOREID = value; EntityState.FieldChange("StoreID"); } } private int? fSTOREID; public static FieldInfo _StoreID = new FieldInfo("t_smd_Contract", "StoreID");
        [Column]
        public string AuthID { get { return fAUTHID; } set { fAUTHID = value; EntityState.FieldChange("AuthID"); } } private string fAUTHID; public static FieldInfo _AuthID = new FieldInfo("t_smd_Contract", "AuthID");
        [Column]
        public string StoreContractSN { get { return fSTORECONTRACTSN; } set { fSTORECONTRACTSN = value; EntityState.FieldChange("StoreContractSN"); } } private string fSTORECONTRACTSN; public static FieldInfo _StoreContractSN = new FieldInfo("t_smd_Contract", "StoreContractSN");
        [Column]
        public double? StoreDeposit { get { return fSTOREDEPOSIT; } set { fSTOREDEPOSIT = value; EntityState.FieldChange("StoreDeposit"); } } private double? fSTOREDEPOSIT; public static FieldInfo _StoreDeposit = new FieldInfo("t_smd_Contract", "StoreDeposit");
        [Column]
        public string StoreContractType { get { return fSTORECONTRACTTYPE; } set { fSTORECONTRACTTYPE = value; EntityState.FieldChange("StoreContractType"); } } private string fSTORECONTRACTTYPE; public static FieldInfo _StoreContractType = new FieldInfo("t_smd_Contract", "StoreContractType");
        [Column]
        public DateTime? StoreContractBeginDate { get { return fSTORECONTRACTBEGINDATE; } set { fSTORECONTRACTBEGINDATE = value; EntityState.FieldChange("StoreContractBeginDate"); } } private DateTime? fSTORECONTRACTBEGINDATE; public static FieldInfo _StoreContractBeginDate = new FieldInfo("t_smd_Contract", "StoreContractBeginDate");
        [Column]
        public DateTime? StoreContractEndDate { get { return fSTORECONTRACTENDDATE; } set { fSTORECONTRACTENDDATE = value; EntityState.FieldChange("StoreContractEndDate"); } } private DateTime? fSTORECONTRACTENDDATE; public static FieldInfo _StoreContractEndDate = new FieldInfo("t_smd_Contract", "StoreContractEndDate");
        [Column]
        public string HasAwardContract { get { return fHASAWARDCONTRACT; } set { fHASAWARDCONTRACT = value; EntityState.FieldChange("HasAwardContract"); } } private string fHASAWARDCONTRACT; public static FieldInfo _HasAwardContract = new FieldInfo("t_smd_Contract", "HasAwardContract");
        [Column]
        public DateTime? AwardContractBeginDate { get { return fAWARDCONTRACTBEGINDATE; } set { fAWARDCONTRACTBEGINDATE = value; EntityState.FieldChange("AwardContractBeginDate"); } } private DateTime? fAWARDCONTRACTBEGINDATE; public static FieldInfo _AwardContractBeginDate = new FieldInfo("t_smd_Contract", "AwardContractBeginDate");
        [Column]
        public DateTime? AwardContractEndDate { get { return fAWARDCONTRACTENDDATE; } set { fAWARDCONTRACTENDDATE = value; EntityState.FieldChange("AwardContractEndDate"); } } private DateTime? fAWARDCONTRACTENDDATE; public static FieldInfo _AwardContractEndDate = new FieldInfo("t_smd_Contract", "AwardContractEndDate");
        [Column]
        public string HasTransferContract { get { return fHASTRANSFERCONTRACT; } set { fHASTRANSFERCONTRACT = value; EntityState.FieldChange("HasTransferContract"); } } private string fHASTRANSFERCONTRACT; public static FieldInfo _HasTransferContract = new FieldInfo("t_smd_Contract", "HasTransferContract");
        [Column]
        public string TransferFromStoreSN { get { return fTRANSFERFROMSTORESN; } set { fTRANSFERFROMSTORESN = value; EntityState.FieldChange("TransferFromStoreSN"); } } private string fTRANSFERFROMSTORESN; public static FieldInfo _TransferFromStoreSN = new FieldInfo("t_smd_Contract", "TransferFromStoreSN");
        [Column]
        public string TransferToStoreSN { get { return fTRANSFERTOSTORESN; } set { fTRANSFERTOSTORESN = value; EntityState.FieldChange("TransferToStoreSN"); } } private string fTRANSFERTOSTORESN; public static FieldInfo _TransferToStoreSN = new FieldInfo("t_smd_Contract", "TransferToStoreSN");
        [Column]
        public DateTime? TransferContractDate { get { return fTRANSFERCONTRACTDATE; } set { fTRANSFERCONTRACTDATE = value; EntityState.FieldChange("TransferContractDate"); } } private DateTime? fTRANSFERCONTRACTDATE; public static FieldInfo _TransferContractDate = new FieldInfo("t_smd_Contract", "TransferContractDate");
        [Column]
        public string HasRenewContract { get { return fHASRENEWCONTRACT; } set { fHASRENEWCONTRACT = value; EntityState.FieldChange("HasRenewContract"); } } private string fHASRENEWCONTRACT; public static FieldInfo _HasRenewContract = new FieldInfo("t_smd_Contract", "HasRenewContract");
        [Column]
        public DateTime? RenewContractBeginDate { get { return fRENEWCONTRACTBEGINDATE; } set { fRENEWCONTRACTBEGINDATE = value; EntityState.FieldChange("RenewContractBeginDate"); } } private DateTime? fRENEWCONTRACTBEGINDATE; public static FieldInfo _RenewContractBeginDate = new FieldInfo("t_smd_Contract", "RenewContractBeginDate");
        [Column]
        public DateTime? RenewContractEndDate { get { return fRENEWCONTRACTENDDATE; } set { fRENEWCONTRACTENDDATE = value; EntityState.FieldChange("RenewContractEndDate"); } } private DateTime? fRENEWCONTRACTENDDATE; public static FieldInfo _RenewContractEndDate = new FieldInfo("t_smd_Contract", "RenewContractEndDate");
        [Column]
        public bool? SubmitToFinancial { get { return fSUBMITTOFINANCIAL; } set { fSUBMITTOFINANCIAL = value; EntityState.FieldChange("SubmitToFinancial"); } } private bool? fSUBMITTOFINANCIAL; public static FieldInfo _SubmitToFinancial = new FieldInfo("t_smd_Contract", "SubmitToFinancial");
        [Column]
        public string ContractArchive { get { return fCONTRACTARCHIVE; } set { fCONTRACTARCHIVE = value; EntityState.FieldChange("ContractArchive"); } } private string fCONTRACTARCHIVE; public static FieldInfo _ContractArchive = new FieldInfo("t_smd_Contract", "ContractArchive");
        [Column]
        public string Remark { get { return fREMARK; } set { fREMARK = value; EntityState.FieldChange("Remark"); } } private string fREMARK; public static FieldInfo _Remark = new FieldInfo("t_smd_Contract", "Remark");
        [Column]
        public string StoreNature { get { return fSTORENATURE; } set { fSTORENATURE = value; EntityState.FieldChange("StoreNature"); } } private string fSTORENATURE; public static FieldInfo _StoreNature = new FieldInfo("t_smd_Contract", "StoreNature");
        [Column]
        public string StoreAffiliation { get { return fSTOREAFFILIATION; } set { fSTOREAFFILIATION = value; EntityState.FieldChange("StoreAffiliation"); } } private string fSTOREAFFILIATION; public static FieldInfo _StoreAffiliation = new FieldInfo("t_smd_Contract", "StoreAffiliation");
        [Column]
        public string StoreStamp { get { return fSTORESTAMP; } set { fSTORESTAMP = value; EntityState.FieldChange("StoreStamp"); } } private string fSTORESTAMP; public static FieldInfo _StoreStamp = new FieldInfo("t_smd_Contract", "StoreStamp");
        [Column]
        public string StoreParty { get { return fSTOREPARTY; } set { fSTOREPARTY = value; EntityState.FieldChange("StoreParty"); } } private string fSTOREPARTY; public static FieldInfo _StoreParty = new FieldInfo("t_smd_Contract", "StoreParty");
        [Column]
        public int? StoreCopies { get { return fSTORECOPIES; } set { fSTORECOPIES = value; EntityState.FieldChange("StoreCopies"); } } private int? fSTORECOPIES; public static FieldInfo _StoreCopies = new FieldInfo("t_smd_Contract", "StoreCopies");
        [Column]
        public DateTime? StoreExpressDate { get { return fSTOREEXPRESSDATE; } set { fSTOREEXPRESSDATE = value; EntityState.FieldChange("StoreExpressDate"); } } private DateTime? fSTOREEXPRESSDATE; public static FieldInfo _StoreExpressDate = new FieldInfo("t_smd_Contract", "StoreExpressDate");
        [Column]
        public string StoreEms { get { return fSTOREEMS; } set { fSTOREEMS = value; EntityState.FieldChange("StoreEms"); } } private string fSTOREEMS; public static FieldInfo _StoreEms = new FieldInfo("t_smd_Contract", "StoreEms");
        [Column]
        public string ToStoreEms { get { return fTOSTOREEMS; } set { fTOSTOREEMS = value; EntityState.FieldChange("ToStoreEms"); } } private string fTOSTOREEMS; public static FieldInfo _ToStoreEms = new FieldInfo("t_smd_Contract", "ToStoreEms");
        [Column]
        public bool? StoreFinance { get { return fSTOREFINANCE; } set { fSTOREFINANCE = value; EntityState.FieldChange("StoreFinance"); } } private bool? fSTOREFINANCE; public static FieldInfo _StoreFinance = new FieldInfo("t_smd_Contract", "StoreFinance");
        [Column]
        public string StoreArchive { get { return fSTOREARCHIVE; } set { fSTOREARCHIVE = value; EntityState.FieldChange("StoreArchive"); } } private string fSTOREARCHIVE; public static FieldInfo _StoreArchive = new FieldInfo("t_smd_Contract", "StoreArchive");
        [Column]
        public bool? StoreRegionReceive { get { return fStoreRegionReceive; } set { fStoreRegionReceive = value; EntityState.FieldChange("StoreRegionReceive"); } } private bool? fStoreRegionReceive; public static FieldInfo _StoreRegionReceive = new FieldInfo("t_smd_Contract", "StoreRegionReceive");
        [Column]
        public string StoreFileNO { get { return fStoreFileNO; } set { fStoreFileNO = value; EntityState.FieldChange("StoreFileNO"); } } private string fStoreFileNO; public static FieldInfo _StoreFileNO = new FieldInfo("t_smd_Contract", "StoreFileNO");
        [Column]
        public string StoreNotSignReason { get { return fStoreNotSignReason; } set { fStoreNotSignReason = value; EntityState.FieldChange("StoreNotSignReason"); } } private string fStoreNotSignReason; public static FieldInfo _StoreNotSignReason = new FieldInfo("t_smd_Contract", "StoreNotSignReason");

    }
}

